<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:84:"D:\xampp\anzhaug\htdocs\RBAC\rbac\public/../application/home\view\index\topMenu.html";i:1488682790;}*/ ?>
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <title>RBAC</title>
   <script src="/home/jquery-1.9.1.min.js"></script>
  <link rel="stylesheet" href="/home/layui-v1.0.7/layui/css/layui.css">
  
  <script src="/home/layui-v1.0.7/layui/layui.js"></script>
</head>
<body>

<fieldset class="layui-elem-field layui-field-title">
  <legend>水平导航菜单</legend>
</fieldset>
 
<ul class="layui-nav">
  <li class="layui-nav-item">
    <a href="javascript:;">会员管理</a>
      <dl class="layui-nav-child">
      <dd><a href="">增加会员</a></dd>
      <dd><a href="">编辑会员</a></dd>
      <dd><a href="">删除会员</a></dd>
    </dl>
  </li>
  <li class="layui-nav-item layui-this">
    <a href="javascript:;">产品管理</a>
    <dl class="layui-nav-child">
      <dd><a href="">增加产品</a></dd>
      <dd><a href="">编辑产品</a></dd>
      <dd><a href="">删除产品</a></dd>
    </dl>
  </li>
  <li class="layui-nav-item"><a href="">大数据</a></li>
  <li class="layui-nav-item">
    <a href="javascript:;">解决方案</a>
    <dl class="layui-nav-child">
      <dd><a href="">移动模块</a></dd>
      <dd><a href="">后台模版</a></dd>
      <dd class="layui-this"><a href="">选中项</a></dd>
      <dd><a href="">电商平台</a></dd>
    </dl>
  </li>
  <li class="layui-nav-item"><a href="">社区</a></li>
</ul>





 
<script>
layui.use('element', function(){
  var element = layui.element(); //导航的hover效果、二级菜单等功能，需要依赖element模块
  
  //监听导航点击
  element.on('nav(demo)', function(elem){
    //console.log(elem)
    layer.msg(elem.text());
  });
});
</script>

</body>
</html>
 

